<?php

include('../../include/functions.inc.php');
include('../../include/report.inc.php');

$report = new Report;
$report->sql = "select c.ID,c.FK_CYCLE,k.NAME,c.CREATED FECHAASIGNACION
from cllg_student_assign c
inner join cllg_career k
on c.FK_CAREER=k.ID";
$report->campos = array("FK_CYCLE" => "CICLO", "NAME" => "CARRERA", "FECHAASIGNACION" => "FECHA ASIGNACION");
$report->requireFilter = true;
$campo = new FiltroCampo;
$campo->etiqueta = "ID ESTUDIANTE";
$campo->nombre = "FK_STUDENT";
$campo->long = "50";
$report->filtros[] = $campo;

$report->titulo = "Reporte Asignaciones Estudiante";
$_SESSION[$report->sessionName] = serialize($report);
$report->ready();
?>
